package com.augmentum.login.dao;

import java.util.List;

import com.augmentum.login.model.Page;
import com.augmentum.login.model.Question;

public interface QuestionDao {

    Question getQuestionById(String questionId);
    void deleteQuestion(String questionId);
    void deleteBatchQuestions(String[] questionIds);
    void updateState(String[] questionIds);
    void updateQuestion(Question question);
    void createQuestion(Question question);
    List<Question> findQuestionList();
    List<Question> findQuestionsByPage(String questionId,String order,Page page);
    int getQuestionCount(String description);
    List<Question> findQuestionById(String questionId);
    List<Integer> getQuestionCountForRandom(int count);
    Question getById(int id);
}
